package com.example.demo.service;

import com.example.demo.entity.User;

public interface UserService {
  public boolean add(User user);

  public boolean update(User user);

  public int delete(int id);

  public User findByName(String name);

  public User[] find(String name);

  public User findOne(int id);
}